/*
package com.marry.business.service.active.impl;

import cn.hutool.core.lang.UUID;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.ExampleMatcher;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.marry.business.domain.MlUser;
import com.marry.business.repository.active.MlUserRepository;
import com.marry.business.service.active.MlUserService;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

*/
/**
 * @path：com.marry.business.service.active.impl.MlUserServiceImpl.java
 * @className：MlUserServiceImpl.java
 * @description：TODO
 * @author：LiuYun
 * @dateTime：2021/7/8 23:26
 * @editNote：
 *//*

@Service
public class MlUserServiceImpl implements MlUserService{

    @Resource
    private MlUserRepository mlUserRepository;


    @Override
    public Mono<Void> delete(MlUser user) {
        return mlUserRepository.delete(user);
    }

    @Override
    public Mono<MlUser> save(MlUser record) {
        return mlUserRepository.save(record);
    }

    @Override
    public Mono<MlUser> detail(Long id) {
        return mlUserRepository.detail(id);
    }

    @Override
    public Flux<MlUser> findAll(MlUser user){

        ExampleMatcher matcher = ExampleMatcher.matching();
        Example<MlUser> ex = Example.of(user);
        return mlUserRepository.findAll();
    }


    @Override
    public Flux<MlUser> batchInsert(Flux<MlUser> list) {
        return mlUserRepository.saveAll(list);
    }
}
*/
